package com.food.foodapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.food.foodapi.model.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 92110
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT COUNT(*) FROM food_user")
    Integer getUserNum();
}
